const Mock = require('expose?Mock!mockjs')
const Random = Mock.Random

Mock.mock(/\.json/, 'GET',{
  'totalSize': 365,
  'list|10': [{
    'id|+1': 1,
    'date': Random.date(),
    'customer': Random.name(true),
    'price': Random.natural(1000, 9999),
    'status': Random.natural(0, 3)
  }],
  'length': 10
})

export default Mock